<?php


namespace App\Models\Enum;


class UserEnum
{
    const INVALID = -1;
    const NORMAL = 0;
    const FREEZE = 1;

    public static function getStatusName($status){
        switch ($status){
            case self::INVALID:
                return"已删除";
            case self::FREEZE:
                return "冻结";
            case self::NORMAL:
            default :
                return "正常";
        }
    }
}
